package com.whfc.wxmp.api.base.service.impl;

import com.whfc.base.dto.AppBannerDTO;
import com.whfc.base.service.BannerService;
import com.whfc.wxmp.api.base.service.WxBannerService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 小程序banner
 *
 * @author : qzexing
 * @version : 1.0
 * @date : 2020/7/4 11:09
 */
@Service
public class WxBannerServiceImpl implements WxBannerService {

    @DubboReference(interfaceClass = BannerService.class, version = "1.0.0")
    private BannerService bannerService;

    @Override
    public List<AppBannerDTO> list(Integer deptId) {
        return bannerService.list(deptId);
    }
}
